Release 10.1A: OpenEdge Development:
ADM Reference
assignPageProperty
Procedure that assigns a property in all objects on the CurrentPage of a SmartContainer. If an object on the page does not have a property, it is ignored without error.
Location: containr.p Parameters:INPUT pcProp AS CHARACTERThe property to set.
INPUT pcValue AS CHARACTERThe value to assign to that property.
Notes:
- This variation on assignLinkProperty is necessary because the notion of paging does not fit well with PUBLISH/SUBSCRIBE. This is because there is a single property (PageNTargets) that stores the handles of all of a SmartContainer’s objects that are not on page 0 in a specially delimited list.
- Although the pcValue parameter is specified in CHARACTER form, you can use these parameters to assign values to noncharacter properties.
Examples:- All objects in a Container subscribe to initializeObject, and so on, but the paging performs the operation on subsets of those objects at a time. That is, the container does not publish initializeObject to objects on a page other than zero until that page is first viewed. So properties such as HideOnInit, which are set as part of initialization, must be set page-by-page.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |